package com.haojiang.mh.service.entity;

/**
 * 最大最小图表数据
 * <p>
 * Created by ZapFive on 2019-05-25.
 * <p>
 * wuzhuang@mirahome.me
 */
public class MinMaxChartBean {
    private String date;
    private MinMaxBean line;
    private boolean isCurrMonth = true;

    public String getDay() {
        return date.substring(8);
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public MinMaxBean getLine() {
        return line;
    }

    public void setLine(MinMaxBean line) {
        this.line = line;
    }

    public boolean isCurrMonth() {
        return isCurrMonth;
    }

    public void setCurrMonth(boolean currMonth) {
        isCurrMonth = currMonth;
    }

    @Override
    public String toString() {
        return "MinMaxChartBean{" +
                "date='" + date + '\'' +
                ", line=" + line +
                '}';
    }
}
